﻿using System;
using System.Collections.Generic;
using System.Linq;
using Unis.Framework.ORM.Attributes;
using Unis.Framework.RuleBase.Common;
using KingRoad.EPM.SafetyManagementEntity;
using KingRoad.EPM.SafetyManagementEntity.Model;
using KingRoad.EPM.SafetyManagementDAL;

namespace ScmCostPlanService
{    
    /// <summary> 
    /// 文件生成时间 2017/2/9 14:59:10
    /// </summary> 
    public class ScmCostplanService :BaseService<ScmCostplanInfo>, IScmCostplanService
    {
        /// <summary>
        /// 删除实体对象
        /// 说明： 说明： 根据父表ID删除
        /// </summary>
        /// <param name="fid"></param>
        /// <returns></returns>
        public int DeleteEntityByStringFID(string fid)
        {
            int ret = DatabaseExcuteByXmlHelper.NewInstance.ExecuteNonQuery("ScmCostplan", "DeleteObjectByFid", fid);
            return ret;
        }
    }

}

